:root {
    --accent-color: #FF0000;    /*#F95700;*/
    --is-mobile: 0;
}
@media (max-width: 768px) {
    :root {
        --is-mobile: 1;
    }
}


/*page structure*/
html, body {
    margin: 0;
    padding: 0;

    height: 100%;

    display: flex;
    flex-direction: column;
}
/*end*/



/*general*/
h1 {
    color: black;
    font-family: Rubik, sans-serif;
}

h2, h3 {
    color: #696969;
    font-family: Arial, sans-serif;
}
a {
    color: dimgray;
	text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
}
a:hover {
    color:var(--accent-color);
}
/*end*/



/*header*/
#skip_link {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background-color: white;
    color: #696969;
    padding: 12px 24px;
    border-radius: 5px;
    border-color: #696969;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}
#skip_link:focus {
    opacity: 1;
    pointer-events: auto;
}

#top_container {
    background-color: whitesmoke;
    padding: 10px;
    text-align: center;

    display: flex;
    flex-wrap: nowrap;
}
#headerText_container {
    margin: 0 auto;
}

#top_container h1 {
    color: black;
    font-family: Rubik, sans-serif;
    font-weight: normal;
    font-size: clamp(1.8rem, 8vw, 4rem);
}

#top_container h2 {
    color: #696969;
    font-weight: normal;
    font-family: Arial, sans-serif;
    font-size: calc(clamp(1.8rem, 8vw, 4rem) / 2);
}

#header_space {
    height: 0;
    flex-shrink: 0;
}
#logo_spacer {
    width: calc(clamp(2.2rem, 8vw, 4rem) * 3 + max(0px, calc(15vw - 10rem)));
    margin: auto 0;
}
#logo {
    width: calc(clamp(2.2rem, 8vw, 4rem) * 3);
    margin: auto 0;
    margin-right: max(0px, calc(5rem - 10vw), calc(15vw - 10rem));
}

#header_menu {
    background-color: white;
    position: relative;
    
    z-index: 50;
    border-bottom: 1px solid #696969;
    border-top: 1px solid #696969;
    height: clamp(2.5rem, 5vw, 3.4rem);
    flex-shrink: 0;
}
#header_menu.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}
#header_menu nav {
    display: flex;

    height: 100%;
}
nav ul {
	list-style: none;
    display: flex;
    padding-left: clamp(0.5rem, 3vw, 2rem);
    margin: auto 0;
}
#header_menu li a {
    display: flex;
    padding: 0 0.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}
#open_sidebar_button {
    display: none;
    background-color: #0000;
    color: #696969;
    border: none;
    font-size: 1.6rem;
    padding: 0;
    padding-bottom: 0.7%;
    padding-left: 1rem;
    height: 100%;
}
#close_sidebar_button {
    display: none;
    background-color: #0000;
    color: #696969;
    border: none;
    font-size: 2rem;
    padding: 0;
    padding-bottom: 0.7%;
    padding-left: 0.5rem;
    height: 100%;
}
#overlay {
    position: fixed;
    inset: 0;
    z-index: 9;
    background: #00000077;
    display: none;
}
@media (max-width: 768px) {
    #header_menu nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: min(15em, 100%);
        z-index: 10;
        border-right: 1px solid #696969;
        transition: left 300ms ease;
    }
    nav.show{
        left: 0 !important;
    }
    nav.show ~ #overlay{
        display: block;
    }
    nav ul {
        width: 100%;
        flex-direction: column;
        margin: 0;
        padding-left: 0;
        background-color: whitesmoke;
    }
    nav a {
        width: 100%;
        padding: 0 !important;
        margin: 0.5rem 0;
        font-size: 2rem !important;
        padding-left: 1rem !important;
    }
    #open_sidebar_button {
        display: block;
    }
    #close_sidebar_button {
        display: block;
    }
}
/*end*/



/*content*/
#content {
    box-sizing: border-box;
    max-width: 100%;
    width: max(32rem, 65%);
    margin: auto;
    padding: 3rem;
    margin-top: 0;
    

    font-weight:normal;
    color: dimgray;
    font-family: Arial, Helvetica, sans-serif;

    box-shadow: 0 0 1.5rem 0px #0008;

    flex: 1;
}
#content p, #content h2, #content h3 {
    text-align: justify;
    max-width: 45rem;
    margin: 0 auto;
    overflow-wrap: break-word;
    /*hyphens: auto;   silben trennung
    word-spacing: 1px;*/
}
#content img {
    display: block;
    margin: 0 auto;
    max-height: 75vh;
    max-width: 100%;
    /*hyphens: auto;   silben trennung
    word-spacing: 1px;*/
}
/*end*/



/*footer*/
footer{
    background-color: lightgray;
    color: dimgray;
    font-weight:lighter;
    padding: 0.6rem;
    text-align: center;
    font-size: 0.9rem;
}